How to create and edit contribution methods