updating medulla only leg model