insert returns last_id (closes #4)