added handling for update study command