updating the path