update entry and cmd