Update mode cs files