add thumbnail functionality
update