Update require snippet
Added param and return snippet