update functionality is working