change in master function database

connection