added upgrade script
added 'favorite' feature