update of bookdoor logic