[IMP] website snippets: update snippet api and create script to remapping old snippet to the new api