updated path sql