updates paths