added very naive multiplayer update & sync code with firebase