update  the path