added update command as well