Update state level code