changed task to store photo ID for further usage