update string in c