missed some changes in clicklistener for update button