added ability to edit books