added editable page details, also a db update.