updated change method in sensor