total profit update