Updated DB helper with implemented functions!