update main constructor