update adapter
get photos for galleries