add view and update crud