update due to change of Keyfunc prototyp