support dynamic learn rate