updates space seperated tags