update existing photo if one exists instead of just deleting and re-adding