crud operations on hosts