Update button working