Updated the rest interface for the remote library management.