If at any time after a defendant has been conditionally released, it appears that removal of some of the conditions or release of the defendant without conditions will not cause the defendant to pose a real and present threat of substantial harm to himself or to others by being at large, the court, after a hearing, shall remove the unnecessary conditions, or it shall order the defendant released unconditionally and terminate its jurisdiction over the case, as the case may be. All such hearings shall be preceded by notice to the department and to the parties required to be notified in Section 15-16-63.