update with path array