update rest midi note constant