Updated the syntax of the dictionary assignment