Used a detachable model for the edit page