Update ws1.m