Competition Edit works but doesnot save change in database