update photo page template