updates ez_setup
to_dict for session entity