improved error handling
removed temporary alter table query
improved error handling
improved error handling and query param binding