widget and db updates