update psi to compile