working edit photo delegation