update and indent fix