Update keyword token and clean task declaration expression