updated osmosis update function and tables