update docs
call set_memory function directly rather than via select command