fixed problem with table
added thumbnail to edit page