Update DB access checker task
Update free space checker logic
add null check for tos update