uses djangos db functions, doesnt add duplicates, removes old records