exposing main update function in index
0.2.0 exports main update function