Update readme to match the new API