change pids directory