Modifed orders for today function to work of updated_at field