update tag input for tags field

in post add and post edit template