update service and dao layers