Created gameUpdate function