Photos class update