Add scope methods for edit and delete word