edit action
shortened upload controller