upd: setup sql script updated to latest db layout