update initial codes