add conditional parameter of published to params whitelist
add publish policy