updates image commands