Add update bus schedule function and fix interface bugs