update agent function 2

processing when no percepts