update path and modern main definition