use the result as the argument for the call to the messages.update function. update messages dictionary with error_messages, if it exists, if not don't update it.
messages . update ( error_messages or { } )