added code for edit model using forms