changes to allow update photos