added version column for optimistic locking