updating static code