[update] update mispos main, add new function to format command