Added featureid to the name of the pictures.
Updated the name of the function savePhoto to saveOrUpdatePhoto.