updating images path