changes in events controller