remove confusing code
add get_bucket_props and set_bucket_props