We establish an improved Sobolev trace inequality of order two in the Euclidean unit ball under the vanishing of higher order moments of the boundary volume element, and construct precise test functions to show that such inequalities are almost optimal. Our arguments can be adapted to the fourth order Sobolev trace inequalities in higher dimensional unit ball.