You want to extend Temporary work contracting

If you have a visitor’s residence permit because you are working in Sweden temporarily on behalf of a business by which you are employed in another EU country (where you are permitted to be) you can apply to extend your residence permit.

You want to extend – Visiting Sweden for more than 90 days