added visitng of properties and updating values