oauth: add edit action for applications