updatez0_v4

1. using minFunc function
2. update Z0 at once