add event paramenter to function reload