update the building