change and add slot ui resource