update readme to reflect new validate function arguments