fix api deploy
add photo upload