update dynamic method