update vacancy info into db