update human algorithm