Update PDF logic, Update sync logic, delete room from server if they are deleted from local db, Combine sync PDF and sync failed PDF function, add sandbox environment,