added edit/delete/update functionality to books