update 'plans' models and tests