Edit photo method added