updated conroller for new version of book