'update' was not working properly