(bugfix) regex matching code block now update() function