Update character.cpp