update server side oembed code generation