modify beans