properly create or update hero attribues  based on whether the hero exists or not