update for libharpe