fix getting primary key value after unsuccessful update