update main in package