Fix and update the template prj.