function, db

create function - update_short_report
set up db connection