Update Algo

Small change