update AddLogic