updated '5_Database_Functions.R'