update PhotoManager and PhotoAlbum