made the update process transactional and thread-safe + added Serialization to the Bucket for future use