updated photo upload and form to separate