update for latest moonscript