update uniform code