added is_active column to models