only update readme if command was successful