Update kotlin runtime

Refactor the code to convert List to ArrayList (1.0)