Update maint script