add extensions to media upload