update main syntax