loads of stuff for auto lists and adding/updating of entities