Editing Content-Types Programatically

System Information
  • Strapi Version: 4.2.2

I want to edit the strapi user (not users-permissions user) content type in the register function but I didn’t find any thing useful. Is there a way to do this?