update agentfunction

agent's process when agent status is bump