Uploading photo removes the old one from the server