Remove spaces from update