updates data for before and after photo presentation