Merge pull request #68 from kapilgoenka/master

export fn update
export fn update