Updating library API endpoint