Maybe you should search your question before ask.
Below link might help. Is it possible to change end reference of a beam?