Added database editing