renamed edit() to update() to follow convention