Upload: add replace file and thumbnail features