update kr library, fix maven dependencies