Fixed bug in ws init that registered stata instead of update.