echoJson method
update