create and update modules