change media interface to set uploadfile for null when no file is uploaded in put