Update PML ast and add default colour palette