Added database insert