fixed wrong search for image update