Update module resources to properly set slug on insert