No, you don’t need to migrate from universal analytics to gtag. If you are using GTM, the gtag feature is already available for you. Gtag is a beta version right now, so you don’t need to migrate anywhere. Whenever Google makes it official, migration will automatically happen for you.