fixing cast error
tags now save updates