update database api spec document