Add update apis

Seriously work in progress here