added bucket
implement syncBucket
add websocket