making tag updating work