Update photoHandler.php