api update and unicode indentation