Fixed UpdateUniform functions