fixed bug - thumbnail wouldn't update