added edit book functionality