connectcases_update_layout function

Updates the attributes of an existing layout