String update(String array) { return tablename[0].replaceAll('_', '').toUpperCase() + tablename.substring(1).replaceAll('_', '') + '::' + 'update($array)'; }