Replaced Depricated Database Methods