editing building functionalitz