Added the get data and metadata
Added the edit mode on/off