update to use gamelogic