added update and upgrade commands