docker_builder updating template incorrectly

dict.update updates a dict in place...fix the code to update the dict
properly.