use local lrucache class and upgrade dependencies