update db localhost