updated dependencies, refactored for latest template