delete old update function, fix naming