params should have the parameter name exactly like it's passed, this should be dev_id