change to update()