udpatePattern fix and first test of accent notes

testing accent notes and a minor fix to enable random patterns upon
light update.