Edit a schedule