Added thumbnail class to update image