Update Manager DB.

Set clouse and connect to db in manager. Create function to call Stored
Procedure.