began prototype development of update function