delete old and add new generated models