Fixing photo update to delete old image