remove unnecessary 404
Move EnsureBufferUpdated to workspace