update embed directive