modify sm path