update photo sidebar