rename some things
detect duplicate upload