change dir path for json