functionality for edit owner