update active status