update currentpage and delete book
added percentage calculation