images update database