tags now saved to db in proper manner