path of img updated