Another attempt at fixing the rendering issue.

I've moved the update call to when the data packet is received. This should work better and not do unneeded updates every tick.