Fixed policy update client side
Fixed Travis build error