Added upserting to get_building

2 jobs for 6-bug-duplicate-keys in 2 minutes and 26 seconds (queued for 2 seconds)