flesh out the updating feature