bugfix when getting RID from updated model, tested orientdb options