medialibrary improvements