Updated SQL inserts