update photo styles on task show page