updates a dynamic method heredoc doc