Fixed param in to_valid_name and split create/update method in bundle manager