updating competition functionality