fixed added/removed books. it works well with changing libraries during the same ssh session. ready to be added to state machine.