You need stone and you need to upgrade your Townhall first, by using the upgrade button when you tap on it.
Then, you can update any building when you select it by using the upgrade button!
Then, you can update any building when you select it by using the upgrade button!