Effect of Stark shift on nonlocal correlation of two atoms in a cavity containing a parametric amplifier and a Kerr like medium