fixed error in service_types update method
added factories