bugfix, update query doesnt use tablename getter
removing useless trim