update photoviewer activity