set location on upload