add ability to edit database