edit model + add view