add search to media and collection