updated lang and db stuff