update __dirname to path