fix calendar events updation