You do not have to update the marital status, but you must have to do when you declare your income tax as married. you can apply immediately after getting married , and you have to live in Canada while sponsoring your husband.
Like me, I got married in March 2019 and applied the paper in May.