Write updated cfs_handle to db
Keep only 0/1 values for user-problem difficulty