fixed bug with updating module deleting module directory