implementet put for contacts rest service