Changed defaultview to edit