modify ws