Update instyWidget.php

Fixed image update script to correctly write to wpdb