Edit and add using the same view