update version strings.
modified error messages.
fix a bug of generating source codes of MongoDB.