update before db rework