updated to the latest module spec