Tweaks to DB connection
Edit and delete pads