Changed the update of the last buy and last sell values.