update db and doc controller