update white spaces