Update function updatez1_v2

1. use SLEP
2. change function's output