Updated get_bucketed and create_databucket