update slider schema
auto set config for different layouts