added two function to manage property updates