Added basic support for editing profiles