Updates the result view layout