Add insert id method