update PATH but needs fixing