update isCompleted to is_completed