updates game to handle key objects