add the ability to edit a record