update buildings