update modules and cors