Correct imports and method names
Delete resource before creating a new one
Update resource after importing data in datastore