updates image location