added tag update ajax functionality