Changed function name in db agent for more appropriate
refs #620