added call to lock a ballotBox, fixed issue with ballotBox updates