Implemented the edit schedule functionality