added possibility to update details of a box