Python Dictionary Update Value If Expression In Access