update the check condition also for PostForkChild