If the bond be rejected, the court shall order the assignee to give another bond, with sufficient security, to be approved by the court; and if he fail to give such bond within such time as the court shall direct, not exceeding thirty days, his authority further to act as assignee shall be deemed to be revoked.