change to how upload works