update character attributes on changes