updated ProfitLib