now binds values in exec and adds lastRowId