update modules and template