update options of  button