editing library app to accept server data