add prune funcs
add ability to remove entry from database