update server command to deal with dirty repo