def merge_into_dict(original, secondary):
  """Merge two dictionaries into the first and return it.

  This is simply a conveinence wrapper around the dictionary update method. In
  addition to the update it returns the original dict to allow for chaining.

  Args:
    original: The dict which will be updated.
    secondary: The dict which will be copied.

  Returns:
    The updated original dictionary.
  """
  original.update(secondary)
  return original