Cleaned DatabaseContext onChange edit section (mainly removed debugging)
removed debugging