change path attachment