adding and editing tags now functional