update with like the most hideous model code ever

of course, the atom implementation is temporary and will be replaced by
korma db queries, so all this ugliness will go away soon enough.