add crud functionality for format

add crud for formats