update w4 with extend