Updated the insert statements a bit