improve pybs: support more features