Created update functions in Hexagon.