gallery images update & DB