added db migration and img