edit is_active function