add write to db wiki