export API for setting content