updates declarations to match implementations