added cache support and updated dependencies