update tags and tag js