update factory for account