create and edit new prototype with collection attribut