Fix bug in incremental update of mks agenads