Methods create and edit added