Added the ability to update brain