def update_block(block):
 return modulestore().update_item(block, ModuleStoreEnum.UserID.test)

def update_block ( block ) : return modulestore ( ) . update_item ( block , ModuleStoreEnum . UserID . test )
helper method to update the block in the modulestore .