making update work